package com.mfangsoft.zhuangjialong.integration.activity.model;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mfangsoft.zhuangjialong.app.entryactivity.model.BaseEntryActivity;
import com.mfangsoft.zhuangjialong.integration.user.model.UserEntity;

/**
 *   活动基本要素表
 * table t_biz_base_activity_info
 *
 * @MLTH_generated do_not_delete_during_merge
 */
public class BaseActivityInfo implements Serializable {
	
	private   List<BaseActivityInfoItem> baseActivityInfoItem;
	private   List<BaseEntryActivity> baseEntryActivity;
	

	/**
     *   id
     * column id
     *
     * @MLTH_generated
     */
    private Integer id;
    private Integer num;
    public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	private Integer shop_id;
    private Integer look;
    public Integer getShop_id() {
		return shop_id;
	}

	public void setShop_id(Integer shop_id) {
		this.shop_id = shop_id;
	}

	private Integer customer_id;
    public Integer getCustomer_id() {
		return customer_id;
	}

	public void setCustomer_id(Integer customer_id) {
		this.customer_id = customer_id;
	}

	public Integer getLook() {
		return look;
	}

	public void setLook(Integer look) {
		this.look = look;
	}

	private Integer unm;
    public Integer getUnm() {
		return unm;
	}

	public void setUnm(Integer unm) {
		this.unm = unm;
	}

	public List<BaseEntryActivity> getBaseEntryActivity() {
		return baseEntryActivity;
	}

	public void setBaseEntryActivity(List<BaseEntryActivity> baseEntryActivity) {
		this.baseEntryActivity = baseEntryActivity;
	}

	public List<BaseActivityInfoItem> getBaseActivityInfoItem() {
		return baseActivityInfoItem;
	}

	public void setBaseActivityInfoItem(List<BaseActivityInfoItem> baseActivityInfoItem) {
		this.baseActivityInfoItem = baseActivityInfoItem;
	}

	/**
     *   id
     * column id
     *
     * @MLTH_generated
     */
    private Integer activity_type;
    /**
     *    模板 id
     *
     * @MLTH_generated
     */
    private Integer p_id;
	/**
     *   活动名称
     * column name
     *
     * @MLTH_generated
     */
    private String name;
    /**
     *   活动审核状态
     * column name
     *
     * @MLTH_generated
     */
    private Integer audit_state;
	/**
     *   活动时间开始
     * column start_time
     *
     * @MLTH_generated
     */
   // @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private String start_time;
	/**
     *   活动时间结束
     * column end_time
     *
     * @MLTH_generated
     */
    private String end_time;
    /**
     *   终端店铺量
     * column end_time
     *
     * @MLTH_generated
     */
    
    private Integer shops;
	/**
     *   报名人数
     * column end_time
     *
     * @MLTH_generated
     */
    private Integer sign_num;
	/**
     *   活动时间创建
     * column create_time
     *
     * @MLTH_generated
     */
    private String create_time;

    /**
     *   活动场所
     * column stage
     *
     * @MLTH_generated
     */
    private String stage;

    /**
     *   活动创建人
     * column creater
     *
     * @MLTH_generated
     */
    private Integer creater;

    /**
     *   活动状态
     * column state
     *
     * @MLTH_generated
     */
    private Integer state;

    /**
     *   推广时间开始
     * column generalize_start
     *
     * @MLTH_generated
     */
  
    private String generalize_start;
    
    /**
     *   推广时间结束
     * column generalize_end
     *
     * @MLTH_generated
     */
	
    private String generalize_end;

    /**
     *   定金额度
     * column money
     *
     * @MLTH_generated
     */
    private Integer money;

    /**
     *   备份
     * column backups
     *
     * @MLTH_generated
     */
    private String backups;

    /**
     *   图片封面
     * column imgurl
     *
     * @MLTH_generated
     */
    private String imgurl;

    /**
     *   活动场所区域编码
     * column code
     *
     * @MLTH_generated
     */
    private String code;

    /**
     *   活动编号
     * column activity_code
     *
     * @MLTH_generated
     */
    private String activity_code;

    /**
     *   活动详情
     * column details
     *
     * @MLTH_generated
     */
    private String details;
    /**
     *   卡图
     * column blockurl
     *
     * @MLTH_generated
     */
    private String blockurl;
    /**
     *   上下架
     * column putaway
     *
     * @MLTH_generated
     */
    private Integer putaway;
    
    public Integer getUser_id() {
		return user_id;
	}

	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}

	private Integer user_id;
    
    private List<BaseActivityInfoItem> activityInfoItems;
	
	private List<BaseActivityShop> baseActivityShop;
	private List<UserEntity> baseUserEntity;

    public List<UserEntity> getBaseUserEntity() {
		return baseUserEntity;
	}

	public void setBaseUserEntity(List<UserEntity> baseUserEntity) {
		this.baseUserEntity = baseUserEntity;
	}

	public String getGeneralize_start() {
		return generalize_start;
	}

	public void setGeneralize_start(String generalize_start) {
		this.generalize_start = generalize_start;
	}

	public String getGeneralize_end() {
		return generalize_end;
	}

	public void setGeneralize_end(String generalize_end) {
		this.generalize_end = generalize_end;
	}

	

    public Integer getPutaway() {
		return putaway;
	}

	public void setPutaway(Integer putaway) {
		this.putaway = putaway;
	}

	/**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table t_biz_base_activity_info
     *
     * @MLTH_generated
     */
    private static final long serialVersionUID = 1L;

    /**
     *   id
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getId() {
        return id;
    }

    /**
     *   id
     * @param id the value for 
     *
     * @MLTH_generated
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     *   活动名称
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getName() {
        return name;
    }

    /**
     *   活动名称
     * @param name the value for 
     *
     * @MLTH_generated
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

  
    /**
     *   活动场所
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getStage() {
        return stage;
    }

    /**
     *   活动场所
     * @param stage the value for 
     *
     * @MLTH_generated
     */
    public void setStage(String stage) {
        this.stage = stage == null ? null : stage.trim();
    }

  
    public Integer getCreater() {
		return creater;
	}

	public void setCreater(Integer creater) {
		this.creater = creater;
	}

	/**
     *   活动状态
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public Integer getState() {
        return state;
    }

    /**
     *   活动状态
     * @param state the value for 
     *
     * @MLTH_generated
     */
    public void setState(Integer state) {
        this.state = state;
    }

    
    /**
     *   定金额度
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getMoney() {
        return money;
    }

    /**
     *   定金额度
     * @param money the value for 
     *
     * @MLTH_generated
     */
    public void setMoney(Integer money) {
        this.money = money;
    }

    /**
     *   备份
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getBackups() {
        return backups;
    }

    /**
     *   备份
     * @param backups the value for 
     *
     * @MLTH_generated
     */
    public void setBackups(String backups) {
        this.backups = backups == null ? null : backups.trim();
    }

    /**
     *   图片封面
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getImgurl() {
        return imgurl;
    }

    /**
     *   图片封面
     * @param imgurl the value for 
     *
     * @MLTH_generated
     */
    public void setImgurl(String imgurl) {
        this.imgurl = imgurl == null ? null : imgurl.trim();
    }

    /**
     *   活动场所区域编码
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getCode() {
        return code;
    }

    /**
     *   活动场所区域编码
     * @param code the value for 
     *
     * @MLTH_generated
     */
    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    /**
     *   活动编号
     * @return the value of VARCHAR
     *
     * @MLTH_generated
     */
    public String getActivity_code() {
        return activity_code;
    }

   

   
	public void setActivity_code(String activity_code) {
		this.activity_code = activity_code;
	}

	/**
     *   活动详情
     * @return the value of LONGVARCHAR
     *
     * @MLTH_generated
     */
    public String getDetails() {
        return details;
    }

    /**
     *   活动详情
     * @param details the value for 
     *
     * @MLTH_generated
     */
    public void setDetails(String details) {
        this.details = details == null ? null : details.trim();
    }
   
  	public String getBlockurl() {
  		return blockurl;
  	}

  	public void setBlockurl(String blockurl) {
  		this.blockurl = blockurl;
  	}
    public Integer getActivity_type() {
  		return activity_type;
  	}

  	public void setActivity_type(Integer activity_type) {
  		this.activity_type = activity_type;
  	}

    public Integer getAudit_state() {
  		return audit_state;
  	}

  	public void setAudit_state(Integer audit_state) {
  		this.audit_state = audit_state;
  	}
    public Integer getShops() {
  		return shops;
  	}

  	public void setShops(Integer shops) {
  		this.shops = shops;
  	}

  	public Integer getSign_num() {
  		return sign_num;
  	}

  	public void setSign_num(Integer sign_num) {
  		this.sign_num = sign_num;
  	}
  	
  	 public String getStart_time() {
 		return start_time;
 	}

 	public void setStart_time(String start_time) {
 		this.start_time = start_time;
 	}

 	public String getEnd_time() {
 		return end_time;
 	}

 	public void setEnd_time(String end_time) {
 		this.end_time = end_time;
 	}

 	public String getCreate_time() {
 		return create_time;
 	}

 	public void setCreate_time(String create_time) {
 		this.create_time = create_time;
 	}
 	
 	
 	

 	public List<BaseActivityInfoItem> getActivityInfoItems() {
 		return activityInfoItems;
 	}

 	public void setActivityInfoItems(List<BaseActivityInfoItem> activityInfoItems) {
 		this.activityInfoItems = activityInfoItems;
 	}
 	
 	
 	
 	public List<BaseActivityShop> getBaseActivityShop() {
 		return baseActivityShop;
 	}

 	public void setBaseActivityShop(List<BaseActivityShop> baseActivityShop) {
 		this.baseActivityShop = baseActivityShop;
 	}




}